PREVIEW: Today, you will learn how to create a password-protected program using while loops.

  • Click Run to see an example of the project.
  • Try out the program! Input the password to unlock your online profile!
  • (Hint: Click on Console to see the correct password.)
  • When you are done, click Submit and Next to move on.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)